package com.messe.base.models;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * 市场活动--推广目标表
 * @author jinxiaozhang
 *
 */
public class TaskTargetRel implements java.io.Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = -471785675273889105L;
	private String id;
	private Task task;
	private String personId;//type为0,存Person的ID,type为1,存IndustryDataPerson的ID,type为2,存MagazinePerson的ID
	private Integer type;
	private Integer flag;//10是邮件,20是短信
	private Integer status;//0：已发送；-1：已删除；10：退回；20：垃圾邮件；；40：未打开；50：已打开；55：点击邮件中的链接； 60：发送成功
	private String address;//收件人地址
	private Timestamp createdStamp;
    private String result;
    private String resultMsg;
    private String resultTime;
    private Integer failNum;
    private String misc;
    
    private String misc2;
    private String misc4;
    
    private Long id2;
    
    private Set<LinkClicks> linkClicks = new HashSet<LinkClicks>(0);
    
	public String getMisc() {
		return misc;
	}
	public void setMisc(String misc) {
		this.misc = misc;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Task getTask() {
		return task;
	}
	public void setTask(Task task) {
		this.task = task;
	}
	public String getPersonId() {
		return personId;
	}
	public void setPersonId(String personId) {
		this.personId = personId;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getFlag() {
		return flag;
	}
	public void setFlag(Integer flag) {
		this.flag = flag;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Timestamp getCreatedStamp() {
		return createdStamp;
	}
	public void setCreatedStamp(Timestamp createdStamp) {
		this.createdStamp = createdStamp;
	}
	public String getResult() {
		return result;
	}
	public void setResult(String result) {
		this.result = result;
	}
	public String getResultMsg() {
		return resultMsg;
	}
	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}
	public String getResultTime() {
		return resultTime;
	}
	public void setResultTime(String resultTime) {
		this.resultTime = resultTime;
	}
	public Integer getFailNum() {
		return failNum;
	}
	public void setFailNum(Integer failNum) {
		this.failNum = failNum;
	}
	public Set<LinkClicks> getLinkClicks() {
		return linkClicks;
	}
	public void setLinkClicks(Set<LinkClicks> linkClicks) {
		this.linkClicks = linkClicks;
	}
	public Long getId2() {
		return id2;
	}
	public void setId2(Long id2) {
		this.id2 = id2;
	}
	public String getMisc2() {
		return misc2;
	}
	public void setMisc2(String misc2) {
		this.misc2 = misc2;
	}
	public String getMisc4() {
		return misc4;
	}
	public void setMisc4(String misc4) {
		this.misc4 = misc4;
	}
	
	
}
